package com.qf.service.caiwu_service;

import com.github.pagehelper.PageInfo;
import com.qf.bean.Debt;

import java.util.Map;

public interface DebtService {
    //分页查询欠款信息
    PageInfo<Debt> findDebtListByLimit(Map map);

//    int deleteByPrimaryKey(Integer did);
//
//    int insert(Debt record);
//
//    int insertSelective(Debt record);
//
    Debt selectByPrimaryKey(Integer did);

    //欠款表中欠款金额减去收款金额
    int subtractOwe(double refund,Integer did);
//
    int updateByPrimaryKeySelective(Debt record);
//
//    int updateByPrimaryKey(Debt record);

}